From: Carlos Garnacho Date: Mon, 16 Jan 2017 15:38:07 +0000 (+0100) Subject: keyboard: Drop dbus naming semantics from Set[Entry|Cursor]Location X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~345 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=41baf0fc74fc885f36b9999cd6ba9e327b7c3884;p=gnome-shell.git keyboard: Drop dbus naming semantics from Set[Entry|Cursor]Location Those functions don't proxy dbus method calls anymore, so just drop the uppercase 'S'. https://bugzilla.gnome.org/show_bug.cgi?id=777342 --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 56f5d463a..2eaa51948 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -247,8 +247,8 @@ const Keyboard = new Lang.Class({ if (caretRect.width == 0 && caretRect.height == 0) caretRect = focusRect; - this.SetEntryLocation(focusRect.x, focusRect.y, focusRect.width, focusRect.height); - this.SetCursorLocation(caretRect.x, caretRect.y, caretRect.width, caretRect.height); + this.setEntryLocation(focusRect.x, focusRect.y, focusRect.width, focusRect.height); + this.setCursorLocation(caretRect.x, caretRect.y, caretRect.width, caretRect.height); } catch (e) { log('Error updating caret position for OSK: ' + e.message); } @@ -716,14 +716,14 @@ const Keyboard = new Lang.Class({ this._showIdleId = 0; }, - SetCursorLocation: function(x, y, w, h) { + setCursorLocation: function(x, y, w, h) { if (!this._enableKeyboard) return; // this._setLocation(x, y); }, - SetEntryLocation: function(x, y, w, h) { + setEntryLocation: function(x, y, w, h) { if (!this._enableKeyboard) return;